HC: switch border color
authorJakub Steiner <jimmac@gmail.com>
Thu, 7 Jan 2021 11:44:53 +0000 (12:44 +0100)
committerJakub Steiner <jimmac@gmail.com>
Thu, 7 Jan 2021 11:44:53 +0000 (12:44 +0100)
- lighten inverted HC borders while darkening the regular/light variant

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3460

gtk/theme/HighContrast/_colors-hc.scss

index b91e12ca3897e20450336598d09cda61e8d07e14..f1535a64cf5908073d6c19dbb7ce7d67399b8eda 100644 (file)
@@ -22,3 +22,5 @@ $focus_border_color: if($variant == 'light', transparentize($selected_bg_color,
 $alt_focus_border_color: if($variant == 'light', white, transparentize(white,0.4));
 
 $dim_label_opacity: 0.9;
+
+$switch_borders_color: if($variant == 'light',darken($switch_bg_color,15%),lighten($switch_bg_color,15%));